package com.woniuxy.dr_mall.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniuxy.dr_mall.entity.DrOrdersItem;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 张哲轩
 * @since 2021-08-11
 */
public interface DrOrdersItemMapper extends BaseMapper<DrOrdersItem> {

    @Update("update dr_orders_item set status='y' where id=#{id}")
    void editStatusIsYById(@Param("id")Integer id);
}
